/config/app/health/monitor//httpOptions/request/body¶
Configure data to be included as body of request.
Use
Use to specify the data for the request body.
Parameters¶
name: Name of health monitor
Default Allowed¶
False
Request Methods¶
GET, PUT
Examples¶
GET
curl -b cookie.jar -k https://10.1.2.3:8443/lrs/api/v1.0/config/app/health/mon itor/hm-01/httpOptions/request/body
GET Response
{"/config/app/health/monitor/hm-01/httpOptions/request/body": {"data": "",
"default": False,
"defaultAllowed": False,
"deleteAllowed": False,
"numChildren": 0,
"type": "string"},
"httpResponseCode": 200,
"recurse": False,
"requestPath": "/config/app/health/monitor/hm-01/httpOptions/request/body"}
PUT
curl -b cookie.jar –data @data.json -k -H “Content-Type: application/json” -X PUT https://10.1.2.3:8443/lrs/api/v1.0/config/app/health/monitor/hm-01/httpOpt ions/request/body
PUT Response
{"httpResponseCode": 200,
"requestPath": "/config/app/health/monitor/hm-01/httpOptions/request/body",
"recurse":false}
- /config/app/health/monitor/
/httpOptions/request/body 1. Parameters 2. Data Key - Data Type
- Default Data Value 3. Default Allowed 4. Request Methods 5. Related 6. Examples